
import static java.lang.System.out;
import java.time.*;
public class ZonedDateTimeDemo {
    public static void main(String[] args){
        LocalTime localTime=LocalTime.of(0,0,0);
        LocalDate localDate=LocalDate.of(1996,1,27);
        ZonedDateTime zonedDateTime=ZonedDateTime.of(
                localDate,localTime,ZoneId.of("Asia/Shanghai")
        );
        out.println(zonedDateTime);
        out.println(zonedDateTime.toEpochSecond());
        out.println(zonedDateTime.toInstant().toEpochMilli());
    }
}
